package com.example.shiro.service.user;

import com.example.shiro.domain.User;
import com.example.shiro.dto.AddUserDto;
import com.example.shiro.dto.UpdateUserDto;
import com.example.shiro.response.ResponseMsg;

import java.util.List;

/**
 * @ Author     ：jujh
 * @ Date       ：Created in 11:10 2018/10/31
 * @ Description：
 */
public interface UserService {

    List<User> findAll();

    void addUser(AddUserDto addUserDto);

    ResponseMsg updateUser(UpdateUserDto updateUserDto);

    ResponseMsg deleteUser(String id);
}
